package com.sls.game.service;

import com.sls.core.socket.Head;
import com.sls.core.socket.ServerDisponseException;
import com.sls.game.page.Pagination;
import com.sls.game.pojo.enlink.EnLinkProduct;

public interface EnLinkProductService {

	/**
	 * 保存产品信息
	 * 
	 * @param enlink
	 * @throws Exception
	 */
	public void save(String body, Head head) throws Exception;

	/**
	 * 详情查询
	 * 
	 * @param body
	 * @param head
	 * @return
	 * @throws Exception
	 */
	public EnLinkProduct queryByProductId(String body, Head head) throws Exception;

	/**
	 * 修改信息
	 * 
	 * @param body
	 * @param head
	 * @throws Exception
	 */
	public void update(String body, Head head) throws Exception;

	/**
	 * 商品信息分页查询
	 * 
	 * @param body
	 * @param head
	 * @return
	 * @throws ServerDisponseException
	 */
	public Pagination<EnLinkProduct> queryEnLinkProduct(String body, Head head)
			throws ServerDisponseException;

}
